﻿.tp-caption.rev-btn {
    position: relative;
    overflow: hidden;
    z-index: 9;
    white-space: nowrap;
    font-size: 17px;
    line-height: 16px;
    font-weight: 600;
    color: #2d2d2d;
    letter-spacing: 0px;
    font-family: Lato;
    background-color: rgb(255, 255, 255);
    border-color: #ce0505;
    border-style: solid;
    border-width: 0px 0px 0px 5px;
    outline: none;
    box-shadow: none;
    box-sizing: border-box;
    cursor: pointer;
    padding: 19px 21px;
    /* Initial transparent background */
    background: transparent;
}

    .tp-caption.rev-btn:hover a {
        color: #ffffff !important;
    }
    /* Create the sliding effect on hover */
    .tp-caption.rev-btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: #ce0505;
        z-index: -1; /* Make sure the background is behind the text */
        transition: left 0.6s ease-in-out;
    }

    /* On hover, slide the red background from left to right */
    .tp-caption.rev-btn:hover::before {
        left: 0;
    }


    /*After Banner Icon-Box*/
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
}

/* Row */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

/* Column */
.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 10px;
}

.col-md-2 {
    flex: 0 0 16.6667%;
    max-width: 16.6667%;
    padding: 10px;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .col-md-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Icon Box Styles */
.icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 2px solid #192f59;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    background-color: #f9f9f9;
    cursor: pointer;
}

    .icon-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }

    .icon-box .icon {
        font-size: 60px;
        color: #007bff;
        margin-bottom: 10px;
        transition: color 0.3s;
    }

        .icon-box .icon:hover {
            color: #0056b3;
        }

.label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s;
    text-decoration: none;
    cursor: pointer;
}

.icon-box:hover .label {
    color: #ff0303;
}

/*College-Names-bg*/
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #192f5996;
    z-index: 1;
}

.gdlr-core-icon-list-item .gdlr-core-icon-list-image img {
    border-radius: 10px;
}

/*Hover-Effect left to right*/
.custom-button {
    display: inline-block;
    position: relative;
    padding: 10px 20px;
    color: #000 !important;
    background-color: #fff !important;
    text-decoration: none;
    border: 2px solid transparent;
    border-left-color: #ce0505 !important;
    transition: color 0.6s ease, background-color 0.3s ease;
    overflow: hidden;
}

    .custom-button:hover {
        color: #ffffff !important;
    }

        .custom-button:hover #i_1dd7_0 {
            color: #ffffff !important;
        }

    .custom-button::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background-color: #ce0505;
        transition: width 0.6s ease;
        z-index: 1;
    }

    .custom-button:hover::before {
        width: 100%;
    }

    .custom-button:hover {
        color: #fff;
    }

    .custom-button span {
        position: relative;
        z-index: 2;
    }
